package yf.mall.controller;

import com.yf.response.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import yf.mall.service.SumService;

import javax.servlet.http.HttpServletResponse;
import java.util.Date;

@RestController
@RequestMapping("/dmz/sum")
public class SumController {

    @Autowired
    private SumService service;

    @RequestMapping("/goods/send")
    public void goods(String date, String name, HttpServletResponse response){
        service.sumSendGoods(name,date,response);
    }

}
